package cn.hjh.entity;

public class HelloSpring {
    private String name;

    private int age;

    private String who;

    public void print(){
        System.out.println("Hello,"+this.getWho()+"，姓名是："+this.getName()+"，年龄是："+this.getAge());
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getWho() {
        return who;
    }

    public void setWho(String who) {
        this.who = who;
    }
}
